package com.turing.post.capitalaccounts.util;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 销售机构上存/缴现金支出单业务逻辑接口
 * 
 * @author zxp 6, 2013
 */
@Remote
@Local
public interface SaleCashWithdrawBillBusiness {
	/**
	 * 插入现金缴款入帐单
	 * 
	 * @param webInput
	 *            业务处理webservice输入值
	 * @param obj
	 *            销售机构上存/缴现金支出单
	 * @throws PCPSApplicationException
	 */
	public void insertSaleCashWithdrawBill(PCPSWebInput webInput,
			SaleCashWithdrawBill obj, BankAccountDetail bankAcc)
			throws PCPSApplicationException;

	/**
	 * 撤销现金账单
	 * 
	 * @param webInput
	 *            业务处理webservice输入值
	 * @param obj
	 *            销售机构上存/缴现金支出单
	 * @throws PCPSApplicationException
	 */
	public void cancelSaleCashWithdrawBill(PCPSWebInput webInput,
			SaleCashWithdrawBill obj) throws PCPSApplicationException;
}